package com.hyt.it.ogt.kq.service.gov.model.dto.admission;

import com.alibaba.excel.annotation.ExcelProperty;
import com.hyt.core.annotation.TemplateMapper;
import com.hyt.it.ogt.kq.common.gov.constant.admission.AdmissionTicketTemplateCode;
import com.hyt.it.ogt.kq.service.model.entity.admission.ExamineeInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 准考证考生信息实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "准考证考生信息实体DTO", description = "准考证考生信息实体DTO")
public class ExamineeInfoDTO extends ExamineeInfo {

    @ExcelProperty(value = "性别", order = 1)
    @TemplateMapper(templateCode = AdmissionTicketTemplateCode.SEX)
    @ApiModelProperty(value = "考生性别描述")
    private String examineeSexDesc;

    @ExcelProperty(value = "证件类型", order = 3)
    @TemplateMapper(templateCode = AdmissionTicketTemplateCode.CERTIFICATE_TYPE)
    @ApiModelProperty(value = "证件类型描述")
    private String identificationTypeDesc;
}
